Search results
300 packages found
Ponyfill for upcoming Element.scrollIntoView() APIs like scrollMode: if-needed, behavior: smooth and block: center
- behavior-smooth
- if-needed
- polyfill
- ponyfill
- scroll
- scroll-into-view
- scrollIntoView
- scrollIntoViewIfNeeded
- scrollMode
- smooth
- smoothscroll
- typescript
The engine that powers scroll-into-view-if-needed
- if-needed
- scroll
- scroll-into-view
- scroll-into-view-if-needed
- scrollIntoView
- scrollIntoViewIfNeeded
- scrollMode
- typescript
React Hook to show if window is focused or not
Ponyfill for smooth scrolling elements into view (if needed!)
- behavior-smooth
- if-needed
- polyfill
- ponyfill
- scroll
- scroll-into-view
- scrollIntoView
- scrollIntoViewIfNeeded
- scrollMode
- smooth
- smoothscroll
- typescript
Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.
Check if files in selected directories has the same structure.
detect file extensions, check if text or binary file, or get list of text or binary file extensions
- binary
- extensions
- extension
- file
- path
- check
- detect
- is
- browser
- deno
- deno-edition
- deno-entry
- denoland
- es2022
- View more
Loop an array backwards! Give loopBackwards() an array and a callback. Calback provides the current item, a splice function, and the current index. Splice function removes item from the array. If the splice function is called & the current item is a DOM e
Give eachr an item to iterate (array, object or map) and an iterator, then in return eachr gives iterator the value and key of each item, and will stop if the iterator returned false.
- array
- browser
- cycle
- deno
- deno-edition
- deno-entry
- denoland
- each
- es2022
- es5
- export-default
- flow
- forEach
- map
- View more
Check if a value is an `Error` instance
- browser
- cross-realm
- dom
- error
- error-handle
- error-handler
- error-handlers
- error-handling
- error-monitoring
- error-reporting
- errors
- exception
- exception-handling
- instanceof
- View more
Cross-browser, lightweight way to check if user is looking at the page or interacting with it. (wrapper around HTML5 visibility api)
TypeScript maybe monad for reaching child fields inside complicated objects.
Check if a path is accessible
- access
- accessible
- deno
- deno-edition
- deno-entry
- denoland
- ecmascript
- es2015
- es2022
- es5
- executable
- export-default
- file
- from
- View more
Typescript if-else support at the type level
[![CI](https://github.com/KonstantinSimeonov/tsx-control-statements/actions/workflows/ci.yml/badge.svg)](https://github.com/KonstantinSimeonov/tsx-control-statements/actions/workflows/ci.yml) [![Coverage Status](https://coveralls.io/repos/github/Konstanti
Ambi lets you execute any function ambidextrously; providing you the ability to execute any function (be it synchronous, asynchronous, returns, callbacks, promises) as if it returned a promise.
- ambidextrous
- async
- asynchronous
- browser
- deno
- deno-edition
- deno-entry
- denoland
- es2022
- es5
- exec
- execute
- export-default
- fire
- View more
Comparator to determine if a version is less than, equivalent to, or greater than another version
Stamps are visual labels which hold small amounts of information regarding an item. (E.g Indicating if a product is published in a list).
Check if a string is a valid filename.
- check
- deno
- deno-edition
- deno-entry
- denoland
- es2022
- export-default
- file
- file format
- file name
- file naming
- file validation
- filename
- filename checking
- View more
Validate if a value is a positive integer between 0 & Number.MAX_SAFE_INTEGER
- assert
- assertion
- bound
- check
- ecmascript
- es2015
- guard
- int
- integer
- is-positive-int
- javascript
- maximum
- num
- number
- View more